package com.itheima.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Clazz {
    private Integer id; // ID, primary key
    private String name; // 班级名称
    private String room; // 班级教室
    private LocalDate beginDate; // 开课时间
    private LocalDate endDate; // 结课时间
    private Integer masterId; // 班主任ID, 关联员工表ID
    private Integer subject; // 学科, 1:java, 2:前端, 3:大数据, 4:Python, 5:Go, 6: 嵌入式
    private LocalDateTime createTime; // 创建时间
    private LocalDateTime updateTime;
}
